package com.aaa.hospital.nurse.mapper;

import com.aaa.hospital.nurse.util.OpenDB;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
@Mapper
@Repository
public interface OpenMapper {
    List<OpenDB> queryOpenDB();
    List<OpenDB> queryOpenDBByName(@Param("uname") String uname);
    OpenDB selectOpenDB(@Param("warid") Integer warid);
    int updateStatus(@Param("warid")Integer warid);
    int updateBedStatus(@Param("id")Integer id);

}
